import { $http } from "./index.js";
import qs from 'qs'

const login = (params) => {
    return $http.post("/api/login", qs.stringify(params));
}

export { login }